// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import viewport from '@/mlib/dom/viewport';
import '@/scss/base.scss'
import VueAwesomeSwiper from "vue-awesome-swiper"
import 'animate.css/animate.min.css'
Vue.config.productionTip = false
viewport.init(1);
/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    template: '<App/>',
    components: { App }
})

if (process.browser) {
    const VueAwesomeSwiper = require('vue-awesome-swiper/ssr')
    Vue.use(VueAwesomeSwiper)
}